package com.coderman.infosys.busorder.domain.enums;

import lombok.Getter;

/**
* @Description:DBA工单类型类
* @Author:shenshuai
* @CreateTime:2021-09-30 11:16:45
* @version v1.0
*/
@Getter
public enum DBAOrderTypeEnum{

   /**
    *
    */
   NEW_DB_APPLY("newDbApply","新数据库申请"),
   DML_APPLY("dataExport","DML申请"),
   DDL_APPLY("accountOperation","DDL操作申请"),
   DATA_EXPORT_APPLY("accountOperation","数据导出申请"),
   DB_OFFLINE_APPLY("dataChange","数据库下线"),
   ;

   /** 类型code **/
   private String code;
   /** 类型描述 **/
   private String desc;


   DBAOrderTypeEnum(String code,String desc){
       this.code = code;
       this.desc = desc;
   }



   /**
    *
    * @Description:static
    * @return DBAOrderTypeEnum
    */
   public static DBAOrderTypeEnum  getByCode(String code){
       return null;
   }

}